﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace CommonHelpers
{
    public class Converter
    {
        public static int ConvertMoneyStringToInt(string money)
        {
            int result;
            //CultureInfo ci = new CultureInfo("es-ES");
            result = int.Parse(money.Substring(0, money.Length - 2).Replace(".", String.Empty), CultureInfo.InvariantCulture);
            return result;
        }
    }
}
